package scrumprojekt;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Jaou
 */
public class RapportLand {
    
    private int rapportId;
    private int landId;
    private String landStart;
    private String landSlut;
    private int landDagar;
    private int rapportLandTraktamente;
    private String landNamn;
    
    public RapportLand(String landStart, String landSlut, int landDagar, int rapportId, int landId, int rapportLandTraktamente, String landNamn)
    {
    
    this.rapportId = rapportId;
    this.landId = landId;
    this.landStart = landStart;
    this.landSlut = landSlut;
    this.landDagar = landDagar;
    this.rapportLandTraktamente = rapportLandTraktamente;
    this.landNamn = landNamn;
    }
    
    
    public int getRapportId(){
    return rapportId;
   
    }
    
    public int getLandId(){
    return landId;
    }
    public String getLandStart()
    {
    return landStart;
    }
    
    public String getLandSlut()
    {
    return landSlut;
    }
    
    public int getLandDagar()
    {
    return landDagar;
    }
    
    public int getRapportLandTrakt()
    {
    return rapportLandTraktamente;
    }
    
    @Override public String toString()
    {
        return landNamn+", "+landDagar+" Dagar, "+rapportLandTraktamente+" SEK";
    }
    
}
